<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */




?>
<div id="page_header">
    <ul><li class="titlename2">Fix Reference Data</li>
        <li class="type2">This will only re-add missing reference data, not delete existing data.</li>
    </ul>
</div>
<div id="main_content">
<br />
    <?php
    if (isset ($_GET['dofix']) && $_GET['dofix']=="true"){

        $bRefDataOk = $PACTS_cfg->checkRefData(true,true);
        if ($bRefDataOk){
            echo '<p>Reference data issues <strong>Fixed</strong>.</p>';
        } else {
            echo '<p>There was a problem fixing the issue with the reference data</p>';
        }
    


    } else {

        echo '<p>Click <a href="index.php?view=RefreshRefData&amp;dofix=true">here</a> is refresh all reference data.</p>'."\n";
    }

    ?>

</div>


<?php

?>

